package com.polaris.live.ui.party.listener

import com.polaris.live.common.network.AppException
import com.polaris.live.ui.live.bean.LiveInitInfo

/**
 * 房间控制回调
 * @author Created by 天晴 on 2024/3/1 18:18
 * @since 1.0.0
 **/
interface RoomControlListener {

    /**
     * 加入成功
     */
    fun joinSuccess(liveInitInfo: LiveInitInfo)

    /**
     * 加入失败
     */
    fun joinError(appException: AppException)

    /**
     * 退出上一个直播间成功
     */
    fun exitLastSuccess()

    /**
     * 退出直播间成功
     */
    fun exitSuccess()
}